package com.xh.bussiness.system.service;



import com.xh.bussiness.permission.model.School;
import com.xh.bussiness.system.bean.request.SchoolRequest;
import com.xh.core.bean.XhPage;
import com.xh.core.service.IBaseService;

import java.util.List;

/**
 * <p>
 * 校区 服务类
 * </p>
 *
 * @author Pitt
 * @since 2020-11-24
 */
public interface ISchoolService extends IBaseService<School> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage querySchoolPage(XhPage page, SchoolRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List querySchool(SchoolRequest bean);

    int saveOrUpdate(School school);

    School querySchoolByThirdId(String thirdId);

}
